package com.xiyu.service.enums.room;

import com.xiyu.service.enums.restaurant.recipe.RestaurantRecipeTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.Arrays;
import com.xiyu.service.enums.common.IntArrayValuable;

/**
* 房间朝向
*/
@Getter
@AllArgsConstructor
public enum BedRoomOrientationEnum implements IntArrayValuable {

    /**
    * 正北
    */
    NORTH(1, "正北"),
    /**
    * 东北
    */
    NORTHEAST(2, "东北"),
    /**
    * 正东
    */
    EAST(3, "正东"),
    /**
    * 东南
    */
    SOUTHEAST(4, "东南"),
    /**
    * 正南
    */
    SOUTH(5, "正南"),
    /**
    * 西南
    */
    SOUTHWEST(6, "西南"),
    /**
    * 正西
    */
    WEST(7, "正西"),
    /**
    * 西北
    */
    NORTHWEST(8, "西北");

    private final Integer value;

    private final String label;

    public static final int[] VALUES = Arrays.stream(values()).mapToInt(BedRoomOrientationEnum::getValue).toArray();

    @Override
    public int[] getValues() { return VALUES;}

    public static final String[] LABELS = Arrays.stream(values()).map(BedRoomOrientationEnum::getLabel).toArray(String[]::new);

    @Override
    public String[] getLabels() { return LABELS; }

}
